{% extends "base.html" %}
{% load app%}
{% block content %}
<div class="item">
     <p class="pic">
       <a href="{{ card.get_absolute_url }}"><img alt="{{ card.name }}" src="{{MEDIA_URL}}{{ card.img }}"></a>
     </p>
     <p class="name">
       <a title="{{ card.name }}" href="{{ card.get_absolute_url }}">{{ card.name }}</a>
     </p>
     <p class="price">
                       售价：<span class="goodsPrice">￥{{ card.price }}元</span>
             </p>
		      <p class="btnList">
		<form method='post' action=''>{% csrf_token %}
		  <input type="text" name="quantity" value="" size="4" />
		<input type='submit' value="购买" /></td></tr>
		</form>
       <a href="javascript:collect(109)">收藏</a> | <a href="goods.php?id=109">购买</a> | <a onclick="Compare.add(109,'【裂隙丁丁辅助】月卡')" href="javascript:;">比较</a>
     </p>
     <p>{{ card.describle|safe }}</p>
   </div>
{% endblock %}